
<%--
  Created by IntelliJ IDEA.
  User: Fling
  Date: 2020/3/11
  Time: 9:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>用户管理</title>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/user.js"></script>
</head>
<body>
用户页面
<input type="hidden" value="${pageContext.request.contextPath}" id="basePath">
<input type="hidden" value="${user.roleId<=3}" id="juese">
<div style="width: 1200px;margin: 50px auto" id="userDiv">
    <c:if test="${user.roleId<=3}">
    <a href="${pageContext.request.contextPath}/jsp/user/useradd.jsp">增加用户</a><br/>
    </c:if>
        请输入查询的用户名称：<input type="text" name="userName" id="userName"/>
        请输入查询的用户类型：<select name="userType"  id="userType"><option value="0">请选择</option></select>
        <a href="javascripy:;"><input type="button" value="提交" id="tijiao" name="tijiao" class="tijiao"/></a>
        <table width="100%" border="all" id="tb">
            <tr style="background-color: #999">
                <th>用户编号</th>
                <th>员工姓名</th>
                <th>年龄</th>
                <th>职位</th>
                <th>联系方式</th>
                <th>家庭地址</th>
                <th>入职时间</th>
                <th>操作</th>
            </tr>
            <%--<c:forEach var="userList" items="${userList}">--%>
            <%--</c:forEach>--%>
        </table>
</div>
<div style="width: 40%; margin: 0 auto" id="page"></div>
</body>
</html>











